package cn.iocoder.an.module.business.dal.dataobject.auditlevel;

import cn.iocoder.an.module.business.dal.dataobject.audittype.AuditConfigDO;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.an.framework.mybatis.core.dataobject.BaseDO;

/**
 * 审核等级 DO
 *
 * @author 超级管理员
 */
@TableName(value = "business_audit_level",autoResultMap = true)
@KeySequence("business_audit_level_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuditLevelDO extends BaseDO {

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 等级
     */
    private String levelName;
    /**
     * 描述
     */
    private String description;
    /**
     * 审核项
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<Long> configId = new ArrayList<>();

    @TableField(exist = false)
    private List<AuditConfigDO> configDOList;

}